package com.example.expedition.data.modules.finance.entity;

import lombok.Data;

import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Table(name = "t_finance_balance")
public class Balance {
    private String id;

    private String type;

    private String userId;

    private BigDecimal balance;

    private BigDecimal frozenBalance;

    private BigDecimal availableBalance;

    private Long version;

    private Date createTime;

    private Date updateTime;

}